package model;

/**
 * Modelo para cada casilla del tablero
 * @author Samuel Chávez, Axel Mayorga
 */
public class QueenModel {
    private boolean existQueen;
    private int number;
    
    public QueenModel()
    {
        this.existQueen=false;
    }
    
    public QueenModel(int number)
    {
        this.existQueen=false;
        this.number = number;
    }
        
    public void setExistQueen(boolean p){
        this.existQueen=p;
    }

    /**
     * @return the existQueen
     */
    public boolean isExistQueen() {
        return existQueen;
    }

    /**
     * @return the number
     */
    public int getNumber() {
        return number;
    }

    /**
     * @param number the number to set
     */
    public void setNumber(int number) {
        this.number = number;
    }
}
